package model;

public class Dimension 
{
	private float _width;
	private float _height;
	
	public Dimension(float width, float height)
	{
		this.setWidth(width);
		this.setHeight(height);
	}
	
	public float getWidth() {
		return _width;
	}

	public void setWidth(float width) {
		this._width = width;
	}

	public float getHeight() {
		return _height;
	}

	public void setHeight(float height) {
		this._height = height;
	}
	
	@Override
	public String toString() 
	{
		return String.format("{%f; %f}", _width, _height);
	}
}
